/*
-----------------------------------------------------------------------------
This source file is part of Labor3D
(Labor 3D Graphics Engine)

Copyright (c) 2009-2020 Rock Mao
* creator : Rock Mao
* created : 2011-2-13   12:45
* filename: LaborModelExEngineDll.cpp

-----------------------------------------------------------------------------
*/
#include "stdafx.h"
#include "LaborModelExDef.h"
#include "LaborModelExPlugin.h"
#include "LaborCore.h"
NAMESPACE_LABOR3D_BEGIN

CLModelExPlugin* plugin;

extern "C" void LABORMODELEX_API dllStartPlugin(void) throw()
{
	plugin = new CLModelExPlugin();
	GetLaborCore()->installPlugin(plugin);
}

extern "C" void LABORMODELEX_API dllStopPlugin(void)
{
	GetLaborCore()->uninstallPlugin(plugin);

	delete plugin;
}

NAMESPACE_LABOR3D_END